import { BaseParamsClass } from "@/hooks/type";

export interface columsType {
  title: string;
  dataIndex: string;
  key: string;
}
export interface IActivityList {
  //id
  id: string;
  //活动名称
  activityName: string;
  //活动封面
  activityImg: string;
  //活动状态 0未开始 1进行中 2已结束
  activityStatus: number;
  //活动人数上限
  activityMax: number;
  //活动人数
  activityRegistered: number;
  //活动地址
  address: string;
  //开始时间
  activitStartDate: number;
  //结束时间
  activitEndDate: number;
  //主办方
  business: string;
  //活动详情
  detail: string;
}

export class IActivityParams extends BaseParamsClass {
  activityStatus = 0;
  activityName = "";
}
